package cn.iocoder.yudao.module.system.controller.admin.a_article.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * @author lxj
 */
@Schema(description = "管理后台 - 稿件管理 - 文稿 Request VO")
@Data
@ToString(callSuper = true)
public class ArticleReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @Schema(description = "文稿标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文稿标题不能为空")
    private String title;

    @Schema(description = "文稿内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文稿描述不能为空")
    private String content;

    @Schema(description = "文稿类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文稿类型不能为空")
    private String category;

    @Schema(description = "版本号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer version;

    @Schema(description = "最后修改时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String lastModificationTime;

    @Schema(description = "封面地址", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String coverUrl;

    @Schema(description = "封面", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private MultipartFile coverFile;

    @Schema(description = "删除状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer deleted;

    @Schema(description = "创建人id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String createUserId;

    @Schema(description = "创建人名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String createUserName;

    @Schema(description = "创建人时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String createTime;

    @Schema(description = "删除ids", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String ids;

    @Schema(description = "删除封面urls", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String coverUrls;

    @Schema(description = "插图urls", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String insertUrls;

    @Schema(description = "是否送审（0未送、1已送、2审核完成）")
    private Integer reviewStatus;

    @Schema(description = "是否为共享素材库（0不是、1是）")
    private String isShare;

    @Schema(description = "是否送审（0不推、1推送）")
    private String isPush;


}
